var sington_pieOption=function(temp,chartData){
	var name = temp.name;
	var val = temp.val;
	var xValue=[name];
	var yValue =[{name:name,value:val}];
	for ( var t in chartData) {
		xValue.push(t);
		var temp = {
				name:t,
				value:chartData[t]
		}
		yValue.push(temp);
	}
	


	return {
		    title : {
		        text: name,				//主标题
//		        subtext: subhead,		//副标题
		        x:'center'
		    },
		    tooltip : {
		        trigger: 'item',
		        formatter: "{a} <br/>{b} : {c} ({d}%)"
		    },
		    legend: {
		        orient : 'vertical',
		        x : 'left',
		        data:xValue				//统计字段值
		    },
		    toolbox: {
		        show : true,
		        feature : {
		            mark : {show: false},
		            dataView : {show: false, readOnly: false},
		            magicType : {
		                show: true, 
		                type: ['pie', 'funnel'],
		                option: {
		                    funnel: {
		                        x: '25%',
		                        width: '50%',
		                        funnelAlign: 'left',
		                        max: 1548
		                    }
		                }
		            },
		            restore : {show: false},
		            saveAsImage : {show: true}
		        }
		    },
		    calculable : false,
		    series : [
						{
						    type:'pie',
						    radius : '55%',
						    center: ['50%', '60%'],
						    data:yValue
						 }  
		              
		         ],
		         noDataLoadingOption:{
		            	text :"暂无数据",
		            	    effect : 'bubble',
		            	    effectOption:{
		            	    	backgroundColor:"#fff",
		            	    	effect:{
		            	    		n:0
		            	    	}
		            	    },
		            	    textStyle : {
		            	        fontSize : 20
		            	    }
		            }
		};
		                    
}